FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\CrowdSec\CrowdSecApi A

Total Complexity 65
Dependencies 17
Dependents 1
Total lines 350
Lines of code 274
Logical lines of code 142
Comment lines 20
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
login()
A
42 11 60
getAuthStatus()
A
47 11 37
machineLogin()
A
49 8 31
machineEnroll()
S
48 6 33
authStart()
S
50 6 27
getScenarios()
S
60 5 13
generateCrowdsecPassword()
S
58 4 14
machineRegister()
S
56 3 19
storeCsAuth()
S
58 3 15
getCsAuths()
S
74 2 4
getApiUserAgent()
S
74 2 4
isReady()
S
69 1 8
getAuthorizationToken()
S
79 1 3
getMachineID()
S
79 1 3
getCsAuth()
S
79 1 3